package com.zjkj.mp.vo;

import org.springframework.security.core.GrantedAuthority;

/**
 * 
 * 用户权限类
 *
 * @author chenchen
 * @history
 * <TABLE id="HistoryTable" border="1">
 * 	<TR><TD>时间</TD><TD>描述</TD><TD>作者</TD></TR>
 *	<TR><TD>2013-6-5</TD><TD>创建初始版本</TD><TD>chenchen</TD></TR>
 * </TABLE>
 */
public class MpAuthority implements GrantedAuthority {

	private String qxdm;// 权限代码

	private static final long serialVersionUID = -706208179883427583L;

	/**
	 * @see org.springframework.security.core.GrantedAuthority#getAuthority()
	 */
	public String getAuthority() {
		return qxdm;
	}

	/**
	 * @return the qxdm
	 */
	public String getQxdm() {
		return qxdm;
	}

	/**
	 * @param qxdm
	 *            the qxdm to set
	 */
	public void setQxdm(String qxdm) {
		this.qxdm = qxdm;
	}

	@Override
	public String toString() {
		return qxdm;
	}
}

/**
 * Copyright © 2013,指尖科技 All rights reserved.
 */
